package tyk.autowired.controller;

import tyk.autowired.service.UserService;

public class UserController {
    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void search() {
        System.out.println("UserController: 根据id查询用户方法执行");
        userService.getUserByID();
    }
}